<script setup>
import {useCounterStore} from "@/store/counter.js";

defineOptions({
    name: "Son1Com"
})

const counterStore = useCounterStore();
</script>

<template>
    <div>
        I am Son1Com. - {{ counterStore.count }} - {{ counterStore.double }}
        <button @click="counterStore.addCount">+</button>
    </div>
</template>

<style scoped>

</style>